import request from '@/utils/request'
import QS from 'qs'
/** 添加云仓 */
export function StaffMangeAdd(data) {
  return request({
    url: 'shop/staffManage/add',
    method: 'post',
    data
  })
}

/** 获取列表 */
export function StaffMangeList(data) {
  return request({
    url: '/shop/staffManage/list',
    method: 'post',
    data: QS.stringify(data)
  })
}

/** 删除列表 */
export function StaffMangeDel(data) {
  return request({
    url: '/shop/staffManage/del',
    method: 'post',
    data: QS.stringify(data)
  })
}

/** 修改编辑 */
export function StaffMangeUpdate(data) {
  return request({
    url: '/shop/staffManage/update',
    method: 'post',
    data
  })
}

/** 门店详情-员工-删除 */
export function employee(data) {
  return request({
    url: '/shop/store/employee/del',
    method: 'post',
    data: QS.stringify(data)
  })
}
